<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0">
	<xsl:include href="header.xsl"/>
	<xsl:include href="footer.xsl"/>
	<xsl:include href="results_generic.xsl"/>
	<xsl:param name="display_path"/>
	<xsl:param name="exist-url"/>

	<xsl:param name="q"/>
	<xsl:param name="sort"/>
	<xsl:param name="rows" as="xs:integer">20</xsl:param>
	<xsl:param name="start"/>
	<xsl:param name="tokenized_q" select="tokenize($q, ' AND ')"/>
	<xsl:param name="mode"/>

	<xsl:template match="/">
		<html>
			<head>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/grids/grids-min.css"/>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/reset-fonts-grids/reset-fonts-grids.css"/>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/base/base-min.css"/>
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/fonts/fonts-min.css"/>
				<!-- Core + Skin CSS -->
				<link rel="stylesheet" type="text/css"
					href="http://yui.yahooapis.com/2.8.2r1/build/menu/assets/skins/sam/menu.css"/>
				<link type="text/css" href="style.css" rel="stylesheet"/>
				<script type="text/javascript" language="javascript" src="javascript/jquery-1.3.2.min.js"/>
				<script type="text/javascript" language="javascript" src="javascript/jquery.livequery.js"/>
				<script type="text/javascript" language="javascript" src="javascript/get_facets.js"/>
				<script type="text/javascript" src="javascript/jquery.lightbox-0.5.min.js"/>
				<script type="text/javascript" language="javascript" src="javascript/coins-lightbox.js"/>
				<script type="text/javascript" language="javascript" src="javascript/sort_results.js"/>
				<script type="text/javascript" language="javascript" src="javascript/quick_search.js"/>
				<title><xsl:value-of
						select="document(concat($exist-url, '/site_info.xml'))/site_info/title"/>:
					Browse Collection</title>
			</head>
			<body class="yui-skin-sam">
				<div id="backgroundPopup"/>
				<div id="doc4" class="yui-t2">
					<xsl:call-template name="header"/>
					<div id="bd">
						<div id="yui-main">
							<div class="yui-b">
								<xsl:call-template name="remove_facets"/>
								<xsl:choose>
									<xsl:when test="//result[@name='response']/@numFound &gt; 0">
										<xsl:call-template name="paging"/>
										<xsl:call-template name="sort"/>
										<xsl:apply-templates select="descendant::doc"/>
										<xsl:call-template name="paging"/>
									</xsl:when>
									<xsl:otherwise>
										<h2> No results found. <a href="results?q=*:*">Start
												over.</a></h2>
									</xsl:otherwise>
								</xsl:choose>
							</div>
						</div>
						<div class="yui-b">
							<div class="facets">
								<xsl:if test="//result[@name='response']/@numFound &gt; 0">
									<h3 style="text-align:center">Refine Results</h3>
									<xsl:call-template name="quick_search"/>
									<xsl:apply-templates
										select="descendant::lst[@name='facet_fields']"/>
								</xsl:if>
							</div>
						</div>
					</div>
					<xsl:call-template name="footer"/>
				</div>
				<script type="text/javascript">
					var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
					document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
				</script>
				<script type="text/javascript">
					try {
					var pageTracker = _gat._getTracker("UA-5343246-4");
					pageTracker._trackPageview();
					} catch(err) {}</script>
			</body>
		</html>
	</xsl:template>

</xsl:stylesheet>
